# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# these are the headers for your project
noinst_HEADERS = meteo2008.h graphview.h databasedlg.h stationdlg.h ftpdlg.h \
							pathdlg.h autodlg.h iconwind.h icontemp.h iconforecast.h iconbanner.h database.h \
			config.h stationdata.h ftp.h textedit.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/meteo2008.pot

KDE_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = meteo2008

# the application source, library search path, and link libraries
meteo2008_SOURCES = main.cpp meteo2008.cpp meteo2008widget.cpp \
								meteo2008widgetbase.ui graphview.cpp databasedlg.cpp stationdlg.cpp ftpdlg.cpp pathdlg.cpp \
							autodlg.cpp iconwind.cpp icontemp.cpp iconforecast.cpp iconbanner.cpp database.cpp \
			stationdata.cpp ftp.cpp textedit.cpp
meteo2008_LDFLAGS = $(KDE_RPATH) $(all_libraries)
meteo2008_LDADD = $(LIB_KDEUI)

# this is where the desktop file will go 
shelldesktopdir   = $(kde_appsdir)/Utilities
shelldesktop_DATA = meteo2008.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/meteo2008
shellrc_DATA = meteo2008ui.rc

